package com.yumeko.dao;

import com.sun.jdi.VoidValue;
import com.yumeko.entity.TOrder;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * (TOrder)表数据库访问层
 *
 * @author Zheng Hao
 * @since 2020-03-20 19:31:44
 */
public interface TOrderDao {

    //1 新建订单
    void create(TOrder tOrder);

    //2 修改订单状态
    void update(@Param("userId") Long userId,@Param("status")Integer status);

}